

import {
    toast
} from 'nc-lightapp-front';

import language from '../../language';

export default function() {
    
    const {
        selectedRows
    } = this.state;
    
    if(selectedRows.length > 0) {
        this.setState({
            createUserModalVisible: true
        });
    }
    else {
        toast({
            color: 'warning',
            content: language['hi6007-000058']/* 国际化处理： 请先选择你要操作的数据*/
        });
    }
}
